package com.findmeastore.bo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * MasterCity entity. @author MyEclipse Persistence Tools
 */

public class MasterCity implements java.io.Serializable {

	// Fields

	private Integer id;
	private User userByCreatedBy;
	private User userByLastModifiedBy;
	private MasterState masterState;
	private Timestamp creationTstamp;
	private Timestamp lastModifiedTstamp;
	private String name;
	private String stdCode;
	private Set masterZones = new HashSet(0);
	private Set businessAddresses = new HashSet(0);
	private Set masterLocalities = new HashSet(0);

	// Constructors

	/** default constructor */
	public MasterCity() {
	}

	/** minimal constructor */
	public MasterCity(User userByCreatedBy, User userByLastModifiedBy,
			MasterState masterState, Timestamp creationTstamp,
			Timestamp lastModifiedTstamp, String name, String stdCode) {
		this.userByCreatedBy = userByCreatedBy;
		this.userByLastModifiedBy = userByLastModifiedBy;
		this.masterState = masterState;
		this.creationTstamp = creationTstamp;
		this.lastModifiedTstamp = lastModifiedTstamp;
		this.name = name;
		this.stdCode = stdCode;
	}

	/** full constructor */
	public MasterCity(User userByCreatedBy, User userByLastModifiedBy,
			MasterState masterState, Timestamp creationTstamp,
			Timestamp lastModifiedTstamp, String name, String stdCode,
			Set masterZones, Set businessAddresses, Set masterLocalities) {
		this.userByCreatedBy = userByCreatedBy;
		this.userByLastModifiedBy = userByLastModifiedBy;
		this.masterState = masterState;
		this.creationTstamp = creationTstamp;
		this.lastModifiedTstamp = lastModifiedTstamp;
		this.name = name;
		this.stdCode = stdCode;
		this.masterZones = masterZones;
		this.businessAddresses = businessAddresses;
		this.masterLocalities = masterLocalities;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUserByCreatedBy() {
		return this.userByCreatedBy;
	}

	public void setUserByCreatedBy(User userByCreatedBy) {
		this.userByCreatedBy = userByCreatedBy;
	}

	public User getUserByLastModifiedBy() {
		return this.userByLastModifiedBy;
	}

	public void setUserByLastModifiedBy(User userByLastModifiedBy) {
		this.userByLastModifiedBy = userByLastModifiedBy;
	}

	public MasterState getMasterState() {
		return this.masterState;
	}

	public void setMasterState(MasterState masterState) {
		this.masterState = masterState;
	}

	public Timestamp getCreationTstamp() {
		return this.creationTstamp;
	}

	public void setCreationTstamp(Timestamp creationTstamp) {
		this.creationTstamp = creationTstamp;
	}

	public Timestamp getLastModifiedTstamp() {
		return this.lastModifiedTstamp;
	}

	public void setLastModifiedTstamp(Timestamp lastModifiedTstamp) {
		this.lastModifiedTstamp = lastModifiedTstamp;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStdCode() {
		return this.stdCode;
	}

	public void setStdCode(String stdCode) {
		this.stdCode = stdCode;
	}

	public Set getMasterZones() {
		return this.masterZones;
	}

	public void setMasterZones(Set masterZones) {
		this.masterZones = masterZones;
	}

	public Set getBusinessAddresses() {
		return this.businessAddresses;
	}

	public void setBusinessAddresses(Set businessAddresses) {
		this.businessAddresses = businessAddresses;
	}

	public Set getMasterLocalities() {
		return this.masterLocalities;
	}

	public void setMasterLocalities(Set masterLocalities) {
		this.masterLocalities = masterLocalities;
	}

}